package edu.spec.sms.service.iface;

import edu.spec.sms.model.mental.Rubric;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by MadFrog on 2017/6/20.
 */
public interface IRubricService {
    void add(Rubric r);
    List<Rubric> listRubricByMental(Integer mentalId);
    boolean importIn(Integer mentalId, MultipartFile file, HttpServletRequest req);
}
